Package-level declarations

Types

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun BLEDevices(connectionState: ConnectionState, bondedDevices: List<DeviceListEntry>, availableDevices: List<DeviceListEntry>, selectedDevice: String, scanModel: BTScanModel, bluetoothEnabled: Boolean)

Composable that displays a list of Bluetooth Low Energy (BLE) devices and allows scanning. It handles Bluetooth permissions using accompanist-permissions.

Link copied to clipboard
fun ConnectionsNavIcon(modifier: Modifier = Modifier, connectionState: ConnectionState, deviceType: DeviceType?, contentDescription: String? = null)
Link copied to clipboard
fun ConnectionsSegmentedBar(selectedDeviceType: DeviceType, modifier: Modifier = Modifier, onClickDeviceType: (DeviceType) -> Unit)
Link copied to clipboard
fun CurrentlyConnectedInfo(node: Node, onNavigateToNodeDetails: (Int) -> Unit, onClickDisconnect: () -> Unit, modifier: Modifier = Modifier, bleDevice: DeviceListEntry.Ble? = null)
Link copied to clipboard
fun DeviceListItem(connectionState: ConnectionState, device: DeviceListEntry, onSelect: () -> Unit, modifier: Modifier = Modifier, onDelete: () -> Unit? = null)
Link copied to clipboard
fun List<DeviceListEntry>.DeviceListSection(title: String, connectionState: ConnectionState, selectedDevice: String, onSelect: (DeviceListEntry) -> Unit, modifier: Modifier = Modifier, onDelete: (DeviceListEntry) -> Unit? = null)
Link copied to clipboard
fun EmptyStateContent(imageVector: ImageVector? = null, text: String, actionButton: @Composable () -> Unit? = null)
Link copied to clipboard
Link copied to clipboard
fun getIconPair(connectionState: ConnectionState, deviceType: DeviceType? = null): Pair<ImageVector, ImageVector?>
Link copied to clipboard
fun NetworkDevices(connectionState: ConnectionState, discoveredNetworkDevices: List<DeviceListEntry>, recentNetworkDevices: List<DeviceListEntry>, selectedDevice: String, scanModel: BTScanModel)
Link copied to clipboard
fun UsbDevices(connectionState: ConnectionState, usbDevices: List<DeviceListEntry>, selectedDevice: String, scanModel: BTScanModel)